A Metaheuristic Approach to the Graceful Labeling Problem
نویسنده
چکیده
In graph theory, a graceful labeling of a graph G = (V, E) with n vertices and m edges is a labeling of its vertices with distinct integers between 0 and m inclusive, such that each edge is uniquely identified by the absolute difference between its endpoints. In this paper, the well-known graceful labeling problem of graphs is represented as an optimization problem, and an algorithm based on Ant Colony Optimization metaheuristic is proposed for finding its solutions. In this regard, the proposed algorithm is applied to different classes of graphs and the results are compared with the few existing methods inside of different literature. A sample graceful graph is shown in Figure 1. Vertex labels are shown inside the vertex circles, and edge labels are shown in red near the related edges. The name “graceful labeling” is due to Solomon W. Golomb; however, this class of labelings was originally given the name β-labelings by Alex Rosa in a 1967 paper on graph labeling (Rosa, 1967). The computational complexity of the graceful labeling problem is not known, but a related problem called harmonious labeling was shown to be NP-complete (Gallian, 2009). In fact, the graceful labeling problem is rather a well-known example of the problems in NP, which are not known to be NP-complete, and neither known to be in P (Johnson, 2005). Many variations of graph labeling have been introduced in recent years by researchers. Various classes of graphs have been proven mathematically to be graceDOI: 10.4018/jamc.2010100103 International Journal of Applied Metaheuristic Computing, 1(4), 42-56, October-December 2010 43 Copyright © 2010, IGI Global. Copying or distributing in print or electronic forms without written permission of IGI Global is prohibited. ful or non-graceful. A detailed survey of graph labeling problems and the related results are shown in a survey by Gallian (2009). There is an unproved conjecture that all trees are graceful. Although, it is shown that trees with up to 27 vertices are graceful. It is shown that all cycles Cn are graceful if and only if n ≡ 0 or 3 (mod 4). All wheels Wn, Helms Hn, and Crowns Rn are graceful. The complete graphs Kn are graceful if and only if n ≤ 4. The necessary condition for a windmill Kn (m) (n ≥ 3) to be graceful is that n ≤ 5; a windmill Kn (m) consists of m complete graphs Kn with one common vertex (Gallian, 2009). An example for each class of the graphs mentioned above and their graceful labelings are shown in Figure 2. The graceful labeling problem is to find out whether a given graph is graceful or not, and if it is, how to label the vertices. The process of gracefully labeling a graph is a very tedious and difficult task for many classes of graphs (Eshghi & Azimi, 2004). In the problem literature, many methods are presented for proving gracefulness of different classes of graphs theoretically, but most of them did not use a general method for finding the graceful labeling of the graphs to be studied. These theoretical methods focus on Figure 1. An example of graceful labeling of a graph Figure 2. Examples for some classes of graceful graphs and their graceful labelings: (a) a cycle C7, (b) a tree T10, (c) a wheel W4, (d) a helm H5, (e) a crown R5, (f) a windmill K3 (4) 13 more pages are available in the full version of this document, which may be purchased using the "Add to Cart" button on the product's webpage: www.igi-global.com/article/metaheuristic-approach-gracefullabeling-problem/51677?camid=4v1 This title is available in InfoSci-Journals, InfoSci-Journal Disciplines Computer Science, Security, and Information Technology. Recommend this product to your librarian: www.igi-global.com/e-resources/libraryrecommendation/?id=2
منابع مشابه
Constructing Graceful Graphs with Caterpillars
A graceful labeling of a graph G of size n is an injective assignment of integers from {0, 1,..., n} to the vertices of G, such that when each edge of G has assigned a weight, given by the absolute dierence of the labels of its end vertices, the set of weights is {1, 2,..., n}. If a graceful labeling f of a bipartite graph G assigns the smaller labels to one of the two stable sets of G, then f ...
متن کاملAn Integer Programming Model and a Tabu Search Algorithm to Generate α-labeling of Special Classes of Quadratic Graphs
First, an integer programming model is proposed to find an α-labeling for quadratic graphs. Then, a Tabu search algorithm is developed to solve large scale problems. The proposed approach can generate α-labeling for special classes of quadratic graphs, not previously reported in the literature. Then, the main theorem of the paper is presented. We show how a problem in graph theory c...
متن کاملSnakes and Caterpillars in Graceful Graphs
Graceful labelings use a prominent place among difference vertex labelings. In this work we present new families of graceful graphs all of them obtained applying a general substitution result. This substitution is applied here to replace some paths with some trees with a more complex structures. Two caterpillars with the same size are said to be textit{analogous} if thelarger stable sets, in bo...
متن کاملGraceful labelings of the generalized Petersen graphs
A graceful labeling of a graph $G=(V,E)$ with $m$ edges is aninjection $f: V(G) rightarrow {0,1,ldots,m}$ such that the resulting edge labelsobtained by $|f(u)-f(v)|$ on every edge $uv$ are pairwise distinct. For natural numbers $n$ and $k$, where $n > 2k$, a generalized Petersengraph $P(n, k)$ is the graph whose vertex set is ${u_1, u_2, cdots, u_n} cup {v_1, v_2, cdots, v_n}$ and its edge set...
متن کاملThree Graceful Operations
A graph of size n is said to be graceful when is possible toassign distinct integers from {0, 1, . . . , n} to its verticesand {|f(u)−f(v)| : uv ∈ E(G)} consists of n integers. Inthis paper we present broader families of graceful graphs; these families are obtained via three different operations: the third power of a caterpillar, the symmetric product of G and K2 , and the disjoint union of G a...
متن کامل